package com.atguigu.gmall.common.exception.annotation;

import com.atguigu.gmall.common.exception.GlobalExceptionHandler;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.Transactional;

import java.lang.annotation.*;

/**
 * @Author:lyd
 * @Date:2023/8/22 20:11
 * @Version:1.0
 * @Description
 **/
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Import(GlobalExceptionHandler.class)
public @interface EnableAutoExceptionHandle {
}
